package com.usian.admin;

import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface AuthorControllerApi {

    //根据用户id查询作者信息
    public ApAuthor findByUserId(@PathVariable("id") Integer id);

    //保存作者
    public ResponseResult save(@RequestBody ApAuthor apAuthor);
}
